﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace TestWinforms
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        /// <summary>
        /// Button for showing message for Antal Kovacs
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void button1_Click(object sender, EventArgs e)
        {
            MessageBox.Show(string.Format(MESSAGE, "Kovács Antal"));
        }

        private const string MESSAGE = "Hello guys! This is {0}!";

        private void Form1_Load(object sender, EventArgs e)
        {

        }

        private void button2_Click(object sender, EventArgs e)
        {
            //test button for Kun David
            MessageBox.Show(string.Format(MESSAGE_1, "Kun Dávid"));
        }

        private const string MESSAGE_1 = "Hello guys! This is {0}!";

        private void button3_Click(object sender, EventArgs e)
        {
            //test button for Dolniczki Martin
            MessageBox.Show(string.Format(MESSAGE_1, "Dolniczki Martin"));
        }

        private void button4_Click(object sender, EventArgs e)
        {
            //test button for Gabor Javora
            MessageBox.Show(string.Format(MESSAGE, "Javora Gábor"));
        }

        private void button5_Click(object sender, EventArgs e)
        {
            //test button for Besenyei Richárd
            MessageBox.Show(string.Format(MESSAGE, "Besenyei Richárd János"));
        }

        private void button6_Click(object sender, EventArgs e)
        {
            //test button for Szabó Szilveszter
            MessageBox.Show(string.Format(MESSAGE, "Szabó Szilveszter"));
        }



        private void button7_Click_1(object sender, EventArgs e)
        {
            //test button for Komonyi Máté
            MessageBox.Show(string.Format(MESSAGE, "Komonyi Máté"));
        }

        private void button8_Click(object sender, EventArgs e)
        {
            //test button for Gábori Péter
            MessageBox.Show(string.Format(MESSAGE, "Gábori Péter"));
        }

    }
}
